import {playMode} from 'common/js/config'
import {loadSearch, loadPlay, loadFavoriteSongs} from 'common/js/cache'

const state = {
  singer: {},
  playing: false,
  fullScreen: false,
  playlist: [],
  sequenceList: [], // 顺序播放列表
  mode: playMode.sequence, // 默认顺序播放
  currentIndex: -1,
  disc: {},
  toplist: {},
  searchHistory: loadSearch(),
  playHistory: loadPlay(),
  favoriteList: loadFavoriteSongs()
}
export default state
